import request from "../utils/request";
import formDataRequest from "../utils/formDataRequest";

// 我的待办列表
export const GetReviewAssessment = (options) => {
	return formDataRequest({
		method: "POST",
		url: "/mobile-api/evaluete/reviewAssessment",
		data: options
	})
}
// 我的待办列表  - 详情
export const GetAssessMentView = (options) => {
	return formDataRequest({
		method: "POST",
		url: "/mobile-api/evaluete/assessMentView",
		data: options
	})
}
// 我的待办列表- 查询个人工作计划
export const GetQueryPersonalWorkPlan = (options) => {
	return formDataRequest({
		method: "POST",
		url: "/mobile-api/repoting/queryPersonalWorkPlan",
		data: options
	})
}
// 我的待办列表 - 工作考核自评 - 查询列表
export const GetQueryPersonalScore = (options) => {
    return request({
        method: "POST",
        url: "/mobile-api/repoting/queryPersonalScore",
        data: options
    })
}
// 我的考核 - 填报 提交  （保存状态 0 草稿，1 提交）
export const PostSubmitAssessmenteMoloyee = (options) => {
    return request({
        method: "POST",
        url: "/mobile-api/repoting/submitAssessmenteMoloyee",
        data: options
    })
}

// 退回
export const PostauditAssessment = (options) => {
    return formDataRequest({
        method: "POST",
        url: "/mobile-api/evaluete/auditAssessment",
        data: options
    })
}
// 汇总列表
export const GetAdutiView = (options) => {
    return formDataRequest({
        method: "POST",
        url: "/mobile-api/summary/adutiView",
        data: options
    })
}
// 汇总列表 - 人员列表
export const GetEmployeeViewDetails = (options) => {
    return formDataRequest({
        method: "POST",
        url: "/mobile-api/summary/employeeView",
        data: options
    })
}
//  汇总 -  一键审核
export const PostoneClickReview = (options) => {
    return formDataRequest({
        method: "POST",
        url: "/mobile-api/summary/oneClickReview",
        data: options
    })
}
// 钉钉登陆

export const GetDingDingLogin = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/dingding/login",
        // url: "/mobile-api/dingding/test",
        data: options
    })
}
// 查询文件
export const GetFileApi = (options) => {
    return formDataRequest({
        method: "POST",
        url: "/mobile-api/repoting/queryAchment",
        data: options
    })
}

// 获取所有人员分数API
export const QueryAllPersonnelScoreApi = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/stats/queryAllPersonnelScore",
        data: options
    })
}

// 优秀人员名单API
export const QueryExemplaryStaffListApi = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/stats/queryExemplaryStaffList",
        data: options
    })
}
// 获取所有期数API
export const QueryNumberOfPeriodsApi = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/stats/queryNumberOfPeriods",
        data: options
    })
}
// 部门统计API
export const DepartmentStatisticsApi = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/stats/departmentStatistics",
        data: options
    })
}
// 考核统计API
export const AssessmentStatisticsApi = (options) => {
    return request({
        method: "GET",
        url: "/mobile-api/stats/assessmentStatistics",
        data: options
    })
}

